package com.itheima.pojo;


import java.io.Serializable;

/**
 * @Author: 张志飞
 * @Date: 今天是 2020/9/25     现在是23:23
 */
public class Address implements Serializable {
    private Integer id;
    private String name;//名称
    private Integer telephone;//电话
    private String longitude;//经度
    private String address;//经度
    private String image;//图片


    public Address() {
    }

    public Address(Integer id, String name, Integer telephone, String longitude, String address, String image) {
        this.id = id;
        this.name = name;
        this.telephone = telephone;
        this.longitude = longitude;
        this.address = address;
        this.image = image;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTelephone() {
        return telephone;
    }

    public void setTelephone(Integer telephone) {
        this.telephone = telephone;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", telephone=" + telephone +
                ", longitude='" + longitude + '\'' +
                ", address='" + address + '\'' +
                ", image='" + image + '\'' +
                '}';
    }
}
